<?php
declare (strict_types=1);

namespace app\api\controller\store;

use app\api\controller\Base;
use app\common\service\store\GoodsCateService;

class GoodsCate extends Base
{

    /**
     * 前端分类接口
     * Author:YangXinPeng
     * @return mixed
     */
    public function cates()
    {
        $info = GoodsCateService::goodCates();
        return $this->res($info);
    }

    /**
     * 前端导航展示接口
     * Author:YangXinPeng
     * @return mixed
     */
    public function fatherCate()
    {
        $info = GoodsCateService::fatherCate();
        return $this->res($info);
    }
}
